import request from "./request";

// 获取轮播图
export const getBanners = () => {
  return request.get("/api/banner");
};

// 获取博客
export const getBlogs = (data) => {
  console.log(data);

  return request.get("/api/blog", data);
};
